package com.zhixi.pattern.notimportant.abstractfactorypattern.operation.humanfactory;

import com.zhixi.pattern.notimportant.abstractfactorypattern.operation.Human;
import com.zhixi.pattern.notimportant.abstractfactorypattern.operation.sex.FemaleBlackHuman;
import com.zhixi.pattern.notimportant.abstractfactorypattern.operation.sex.FemaleWhiteHuman;
import com.zhixi.pattern.notimportant.abstractfactorypattern.operation.sex.FemaleYellowHuman;

/**
 * @作者 ShuHaoNan
 * @邮箱 shuhaonan1@gmail.com
 * @时间 2020/11/15 11:30
 */
public class FemaleFactory implements HumanFactory {

    @Override
    public Human createBlackHuman() {
        return new FemaleBlackHuman();
    }

    @Override
    public Human createYellowHuman() {
        return new FemaleYellowHuman();
    }

    @Override
    public Human createWhiteHuman() {
        return new FemaleWhiteHuman();
    }

}
